home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
051-075
/
disk_069
/
spool
/
makefile
< prev
next >
Wrap
Makefile
|
1992-05-06
|
2KB
|
67 lines
# makefile for SPOOLer
#
# 11/19/86, by Tim Holloway. This is the Makefile for the
# multi-printer SPOOLing system featured in Ami Project magazine
# Vol I, issue 5.
#
# (C) 1986, by Tim Holloway. Permission is hereby granted to
# freely distribute this system for non-commercial use, providing
# the copyright notices and credit to the author are retained.
# The right for any other person or company to in any way modify
# or restrict this copyright is NOT allowed.
#
# ==== to startup the SPOOLing system, EXECUTE SPOOL.go ===
# ==== to queue file[s] to the printer, use the SPOOL command.
# Macros. User must adapt as appropriate
H = spool.h
CC = execute cc
LK = execute link
ARC = Utilities:c/arc
ARCFILE = RAM:Spool
SRC = spool.c spooler.c prtspool.c login.cx dates.c gripe.c SPOOL.go read-me pathname.c
all : spooler spool prtspool nocrud
spooler : spooler.o gripe.o
$(LK) spooler spooler.o gripe.o
spooler.o : $H spooler.c
$(CC) spooler
spool : spool.o pathname.o
$(LK) spool spool.o pathname.o
pathname.o : pathname.c
$(CC) pathname
spool.o : $H login.cx spool.c
$(CC) spool
prtspool : prtspool.o dates.o gripe.o
$(LK) prtspool prtspool.o dates.o gripe.o
prtspool.o : $H login.cx prtspool.c
$(CC) prtspool
gripe.o : gripe.c
$(CC) gripe
dates.o : dates.c
$(CC) dates
# my CC execute file tells the linker not to link by creating a dummy
# file if a compile fails
nocrud :
delete ram:crud # my CC execute files tell the linker not to link
backup :
$(ARC) a $(ARCFILE) $H makefile $(SRC) spool spooler prtspool